A race to create info/ has been eliminated
authorRob Browning <rlb@defaultvalue.org>
Thu, 23 Oct 2014 15:24:22 +0000 (10:24 -0500)
committerRob Browning <rlb@defaultvalue.org>
Thu, 23 Oct 2014 15:37:11 +0000 (10:37 -0500)
Previously something like "make -j2 info" might fail because there was
a race to create info/.  This backport was adapted from the broader
patch listed below.

Origin: backport, commit: r118181, a385f9e187ceec0610f000158305c9d5cb987dbd
Added-by: Rob Browning <rlb@defaultvalue.org>
Makefile.in

index e5d98d2f5b0d031f28b77a3f76f8a214377615df..540b4b35fb6cd7c2bec8cded1830ea1db63800ed 100644 (file)
@@ -969,6 +969,7 @@ info_dir_deps = ${srcdir}/build-aux/dir_top \
 ## but then we would need to depend on info-real, which would
 ## slow down parallelization.
 ${srcdir}/info/dir: ${info_dir_deps}
+       ${MKDIR_P} ${srcdir}/info
        tempfile=info-dir.$$$$; \
        rm -f $${tempfile}; \
        thisdir=`pwd`; \